package com.ebupt.migu.music.elasticsearch.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author admin
 */
@Data
public class Entity implements Serializable {

    private Long id;

    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "[id=" + id + ", name=" + name + "]";
    }

}
